<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Schema;

class ToolServiceProvider extends ServiceProvider
{
    protected $defer = true;

    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }

    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        require_once $this->app->path('Services/phpqrcode.php');

        $this->app->bind('simple_qrcode', \QRcode::class);
    }

    public function provides()
    {
        return ['simple_qrcode'];
    }
}
